<?php
/**
 * Created by JetBrains PhpStorm.
 * User: Bezdelnick
 * Date: 30.04.13
 * Time: 14:03
 * To change this template use File | Settings | File Templates.
 */
//require_once();
$PATH = Config::getInstance()->getBasePath();
require_once("$PATH/persistence/Group.php");
require_once("AbstractController.php");

class GroupController extends AbstractController
{
    public function getTableName()
    {
        return "groups";
    }

    public function getNewCopyOfObject()
    {
        return new Group();
    }

    public function getMappings()
    {
        return array(
            new OrmMapping("Name", "name")
        );
    }
}
